<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%
    String userRole = (String) session.getAttribute("userRole");
%>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Language" content="sk" />
        <meta name="author" content="Pavol Fogaš, Martin Vasko, Matúš Vojtko" />
        <meta name="description" content="" />
        <meta name="keywords" content="gradebook, nástenka, učitelia, študenti, triedy, predmety, rozvrhy, suplovanie, inzercia doučovania" />
        <link href="/gradebook/css/core.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/lists.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/noticeboard.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/gradebook.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/messages.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/tutorage.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/absences.css" type="text/css" rel="stylesheet" />
        <link href="/gradebook/css/admin_lists.css" type="text/css" rel="stylesheet" />
        <link rel="icon" href="/gradebook/images/icon32.ico" />
        <link rel="shortcut icon" href="/gradebook/images/icon32.ico" />
        <title>Gradebook</title>
        <script type="text/javascript" src="/gradebook/js/functions.js"></script>
        <script type="text/javascript">
            <!--
		// initial server date
                var serverDate = new Date(<%=(new java.util.Date()).getTime()%>);
            //-->
        </script>
    </head>

    <body onload="initTimeAndDate();">
        <div id="body_content">
            <%@include file="page_parts/header_bar.jspf" %>
            
            <div id="page_middle_content">
                <%@include file="page_parts/left_menu_content.jspf" %>
                
                <div id="top_menu">
                    <a href="?content=classesList">Triedy</a>
                    <a href="?content=teachersList">Učitelia</a>
                    <a href="?content=substitutionsList">Suplovanie</a>
                    <a href="?content=aboutSchool">O škole</a>
                    <div id="time"></div>
                    <div id="date"></div>
                </div>

                <%@include file="page_parts/main_content.jspf" %>
            </div>
            <br clear="all" />
            <br clear="all" />

            <%@include file="page_parts/bottom_bar.jspf" %>
        </div>

    </body>
</html>